package com.wuchao.spring.advice;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author wuchao66
 * @Date 2022/7/4 12:27
 * @Version 1.0
 */
public class T {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext cpac =
                new ClassPathXmlApplicationContext("ApplicationContext.xml");//拿到spring的配置文件
        PointCut pointCut=   (PointCut)cpac.getBean("PointCut11");
        pointCut.show();
    }
}
